<ui:composition
		xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:a4j="http://richfaces.org/a4j"
		xmlns:rich="http://richfaces.org/rich"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:itdep="http://itdep.bsuir.by/jsf"
		>

	<ui:decorate template="/facelets/template/student/eventReasonTemplate.xhtml">
		<ui:param name="event" value="#{studentBean.enrollEvent}"/>
	</ui:decorate>
	<h:panelGrid columns="3" width="372">
		<h:outputText value="#{dictionaryBundle.entranceType}" styleClass="requiredField"/>
		<itdep:entitySelectMenu value="#{studentBean.record.entranceType}" entityType="entrance-type"
								id="#{idPrefix}EntranceType"
								format="{i18n.description}" required="true" styleClass="sizeCopmonent"/>
		<itdep:errorMessage for="#{idPrefix}EntranceType"/>

		<h:outputText value="#{dictionaryBundle.educationType}" styleClass="requiredField"/>
		<itdep:entitySelectMenu value="#{studentBean.record.educationType}" anyValue="true" entityType="education-type"
								id="#{idPrefix}EducationType"
								format="{i18n.description}" styleClass="sizeCopmonent"/>

	</h:panelGrid>


</ui:composition>
